package com.ustb.mapper;

import com.ustb.pojo.User;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {
    //登录
    User login(User user);
    //注册
    void reg(User user);
    //根据ID获取用户的详细信息
    User findUserById(Integer id);
}
